package design_pattern.builder;

/**
 * 平房
 * 
 * @author Administrator
 *
 */
public class Bungalow implements House {

  /** 楼层数 */
  private int floors;

  /** 使用砖块数 */
  private int bricks;

  /** 平房平方数 */
  private int area;

  public int getFloors() {
    return floors;
  }

  public void setFloors(int floors) {
    this.floors = floors;
  }

  public int getBricks() {
    return bricks;
  }

  public void setBricks(int bricks) {
    this.bricks = bricks;
  }

  public int getArea() {
    return area;
  }

  public void setArea(int area) {
    this.area = area;
  }

  @Override
  public String toString() {
    return "Bungalow [floors=" + floors + ", bricks=" + bricks + ", area=" + area + "]";
  }
}
